import LayOut from '@/layOut/index'
const myAccount = () => import(/* webpackChunkName: "userCenter" */ '@/pages/userCenter/myAccount/myAccount.vue')
const myOrder = () => import(/* webpackChunkName: "userCenter" */ '@/pages/userCenter/myOrder/myOrder.vue')
const myOrderl = () => import(/* webpackChunkName: "userCenter" */ '@/pages/userCenter/myOrderl/myOrderl.vue')
const myOrderm = () => import(/* webpackChunkName: "userCenter" */ '@/pages/userCenter/myOrderm/myOrderm.vue')
const myOrderr = () => import(/* webpackChunkName: "userCenter" */ '@/pages/userCenter/myOrderr/myOrderr.vue')
const userCenter={
    path: '/userCenter',
    component: LayOut,
    redirect: '/userCenter/myAccount',
    name: 'userCenter',
    children:[
      {
        path: 'myAccount',
        component:myAccount,
        name: 'myAccount',
        meta: { title: 'myAccount' }
      },
      {
        path: 'myOrder',
        component:myOrder,
        name: 'myOrder',
        meta: { title: 'myOrder' },
        children:[
          {
            path: 'myOrder-l',
            component:myOrderl,
            name: 'myOrder-l',
            meta: { title: 'myOrder-l' },
          },
          {
            path: 'myOrder-m',
            component:myOrderm,
            name: 'myOrder-m',
            meta: { title: 'myOrder-m' },
          },
          {
            path: 'myOrder-r',
            component:myOrderr,
            name: 'myOrder-r',
            meta: { title: 'myOrder-r' },
          },
        ]
      },
    ]
  }
export default userCenter